package com.yanchi.service;


import com.yanchi.entity.User;


public interface UserService {

    /**
     * 注册添加用户
     * @return
     */
    int addUser(User user);

    /**
     * 通过username查询当前用户的信息
     * @param username
     * @return
     */
    User queryByUsername(String username);



}
